<div id="track">
  <p>
    Your very own trophy Room
  </p>
  <table>
    <tr>
      <td BACKGROUND="/images/award_ribbons.jpg" height=300px width=700px>
        &nbsp;
      </td>
    </tr>
  </table>
</div>

<div id="dashboard">
<p>
  Keep an eye out for all the great things you have yet to achieve!  
</p>
    <table>
      <tr>
  <%if @incentives.blank? %>
        <td>
          <%= image_tag('icons/running.gif', :alt => 'running') %>
        </td>

  <%else%>
        <% for incentive in @incentives %>
          <td>
            <%=h incentive.goal %> miles
          </td>
          <td><%= image_for(incentive, :medium) %></td>
        <% end %>  
        <td>
          <%= image_tag('icons/running.gif', :alt => 'running') %>
        </td>
  <%end%> 
  <% if @next_incentives.blank? %>
  </tr>
  </table>
  <%else%>
        <% for incentive in @next_incentives %>
          <td>
            <%=h incentive.goal %> miles
          </td>
          <td><%= image_for(incentive, :medium) %></td>
        <% end %>
  <%end%>
  </tr>
  </table>
</div>